import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import path from "path";

// https://vitejs.dev/config/
export default defineConfig({
    base: "/admin/web",
    resolve: {
        alias: {
            '/@': path.resolve('./src'),
            'vue': 'vue/dist/vue.esm-bundler.js'    // 配置运行时编译
        }
    }, plugins: [vue()], server: {
        host: '0.0.0.0'
    }
})
